package cn.sdormitory.schoolActivity.dao;

import cn.sdormitory.schoolActivity.Req.SchoolActivityParamReq;
import cn.sdormitory.schoolActivity.entity.SchoolActivity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;

/**
 * @className: SchoolActivityDao
 * @author: Alex
 * @date: 2024/12/17
 **/
@Mapper
public interface SchoolActivityDao extends BaseMapper<SchoolActivity> {
	
	IPage<SchoolActivity> getActivityPage(SchoolActivityParamReq vo, IPage<SchoolActivity> page);
	
	SchoolActivity getActivityById(Long id);
}
